package cn.lf.constant;

/**
 * 用户类型枚举类
 * @author guoyy
 */
public enum UserTypeEnum {

    SUB_ADMIN("0","管理员"),
    SHOP("1","店主"),
    USER("2","用户");

    private String code;

    private String name;

    UserTypeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
